/************************************************************************/
/*																		*/
/*		School Hangover Project											*/
/*																		*/
/*		IMAC 2010														*/
/*		Author : 	Helena Duchaussoy									*/
/*					Isabelle Gouwy										*/
/*					Nathalie Kuoch										*/
/*					Franck Letellier									*/
/*					Louise Pequignot									*/
/*																		*/
/*		E-mail: flo-in-underware@googlegroups.com						*/
/*																		*/
/************************************************************************/
#ifndef __WALL_H__
#define __WALL_H__

#include "Object.h"


#include <osg/PositionAttitudeTransform>
#include <osgDB/ReadFile>
#include <iostream>
#include <string>

class Wall : public Object {

public:
	Wall(std::string file);
	~Wall();

    ComputeBoundingBox &getBoundBox() { return bbox; }  
    std::vector<osg::BoundingBox> &getBoundBoxs() { return bboxs; }  


	void init();
	osg::Node* getModel3D() {return m_model3D;}
	void update();

private:
	osg::Node* m_model3D;
	std::string m_model3Dfile;
	ComputeBoundingBox bbox;
	std::vector<osg::BoundingBox> bboxs;
};

#endif // __WALL_H__
